package com.remoter.basic.monitor.support;

import com.remoter.basic.configure.IConfiguration;
import com.remoter.basic.configure.support.AbstractConfiguration;
import com.remoter.basic.monitor.IMonitor;
import com.remoter.basic.util.Final;

/**
 * @author			koko
 * @date 			2017-08-10 16:25:18
 * @description 	类功能说明
 */
public abstract class AbstractMonitor implements IMonitor{
	
	protected IConfiguration configuration;
	
	public AbstractMonitor(){
		this.configuration = AbstractConfiguration.getConfiguration();
	}

	@Override
	public String getServerName() {
		return this.configuration.getOption(Final.O_VAL_SERVER);
	}
	
}